<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
	<%-- <img alt="头像" src="${pageContext.request.contextPath}/uploads/${path}"  class="img-circle center-block"/>
	<h3>您好，${username} </h3> --%>
	<div class="container">
		<div class="panel panel-default col-md-offset-3 col-md-6 register-panel">
			<div class="h2 text-center">写博客文章</div>
			<div class="pannel-body">
				<form class="form-horizontal" action="./write.do" method="post" enctype="multipart/form-data">
					<div class="form-group">
						<label class="control-label col-md-2">标题</label>
						<div class="col-md-9">
							<input type="text" class="form-control"  name="title"/>
						</div>
					</div>
					<div class="form-group">
						<label class="control-label col-md-2">内容</label>
						<div class="col-md-9">
							<textarea class="form-control" rows="12" name="content"></textarea>
						</div>
					</div>
					<div class="form-group">
						<div class="col-md-offset-4 col-md-4">
							<button type="submit" class="btn btn-primary btn-block">提交</button>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
	<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
</body>
</html>